home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 2001 May
/
SGI IRIX Base Documentation 2001 May.iso
/
usr
/
relnotes
/
dps_eoe
/
ch5.z
/
ch5
Wrap
Text File
|
2001-04-17
|
8KB
|
199 lines
- 1 -
5. _S_i_l_i_c_o_n _G_r_a_p_h_i_c_s-_S_p_e_c_i_f_i_c _B_e_h_a_v_i_o_r _o_f _D_i_s_p_l_a_y
_P_o_s_t_S_c_r_i_p_t/_X
This version of DPS/X (DPS Extension) supports CID Keyed
fonts transparently. Hence, all DPS/X clients are able to
handle CID keyed fonts requests. CID outline fonts and
related CMap files are available from the following
subsystems:
WWWWoooorrrrllllddddVVVViiiieeeewwww____ffffoooonnnnttttssss____kkkkrrrr Korean CID outline fonts and
related CMap files.
WWWWoooorrrrllllddddVVVViiiieeeewwww____ffffoooonnnnttttssss____jjjjpppp Japanese CID outline fonts from
Heisei and related CMap files.
WWWWoooorrrrllllddddVVVViiiieeeewwww____ffffoooonnnnttttssss____jjjjpppp1111 Japanese CID outline fonts from
Bitstream and related CMap
files.
WWWWoooorrrrllllddddVVVViiiieeeewwww____ffffoooonnnnttttssss____ttttwwww Traditional Chinese CID outline
fonts and related CMap files.
WWWWoooorrrrllllddddVVVViiiieeeewwww____ffffoooonnnnttttssss____ccccnnnn Simplified Chinese CID outline
fonts and related CMap files.
If DPS or Impressario does not recognize the above installed
CID fonts, run _m_a_k_e_c_i_d_r_e_s in root. _m_a_k_e_c_i_d_r_e_s recreates the
CID database file: /usr/lib/DPS/CID.upr.
DPS looks for PostScript resources like fonts, forms in a
default directory: /_u_s_r/_l_i_b/_D_P_S. If you use program like
_A_d_o_b_e _T_y_p_e_I_n_s_t_a_l_l_e_r that installs PostScript resources into
a directory other than the default directory, then the
following steps need to be taken so that DPS will recognize
those resources.
Insert this line: _e_n_v _P_S_R_E_S_O_U_R_C_E_P_A_T_H
_a_l_t_e_r_n_a_t_e__r_e_s_o_u_r_c_e__d_i_r:: into /usr/bin/X11/X as such:
#! /bin/sh
#
# /usr/bin/X11/X
# initialize graphics device and start X Window System
# $Revision: 1.4 $
#
glGammaFile=/etc/config/system.glGammaVal
glGammaDefault="1.7"
if /etc/chkconfig windowsystem; then
if [ -x /usr/gfx/gfxinit ]; then
# need to extract potential -boards argument to give to
gfxinit.
- 2 -
for i in $* ; do
if [ $next ] ; then brdargs="-boards $i"; break; fi;
if [ $i = "-boards" ] ; then next=true; fi;
done
/usr/gfx/gfxinit $brdargs
if [ -r $glGammaFile -a -s $glGammaFile ] ; then
glGamma=`cat $glGammaFile`
else
glGamma=$glGammaDefault
fi
/etc/chkconfig debugxserver
if [ $? = 0 -a -x /usr/bin/X11/Xsgi_d -a -d
/usr/lib/X11/dyDDXdebug ] ; then
exec /usr/bin/X11/Xsgi_d $* -core -ddxdir
/usr/lib/X11/dyDDXdebug -gamma $glGamma
else
if [ -x /usr/bin/X11/Xsgi ]; then
exec _e_n_v _P_S_R_E_S_O_U_R_C_E_P_A_T_H _a_l_t_e_r_n_a_t_e__r_e_s_o_u_r_c_e__d_i_r::
/usr/bin/X11/Xsgi $* -gamma $glGamma
else
echo "X: /usr/bin/X11/Xsgi not available"
fi
fi
Notes: Do not put newline before and after _e_n_v
_P_S_R_E_S_O_U_R_C_E_P_A_T_H _a_l_t_e_r_n_a_t_e__r_e_s_o_u_r_c_e__d_i_r::.
_a_l_t_e_r_n_a_t_e__r_e_s_o_u_r_c_e__d_i_r is the alternate directory where the
PostScript resources are located. Do not leave out the
double colon after _a_l_t_e_r_n_a_t_e__r_e_s_o_u_r_c_e__d_i_r. Make a copy of
/usr/bin/X11/Xsgi before making the above modification.
DPS/X is dynamically loaded into the X server when the first
DPS/X extension request is made (that is, when the first
DPS/X application is launched). It remains loaded until the
server is reset.
DPS/X creates a 4x4x4-cell colorcube and an 8-cell gray-ramp
in the standard colormap. These colors can be ``swapped-
out'' when applications that use a nonstandard colormap
(such as GL applications) receive focus (just as their cells
can be ``swapped-out'' when another X or DPS/X application
receives focus). Although colors in a window that does not
have input focus might look wrong, this is the correct
behavior and ensures that the window with focus always shows
the correct colors.
The current version of _s_h_o_w_p_s is more flexible in terms of
color management. Please refer to the _s_h_o_w_p_s man pages and
the postscript documents _S_h_o_w_P_S _U_s_e_r _G_u_i_d_e
(ShowPSUserGuide.ps) and _S_h_o_w_P_S _R_e_f_e_r_e_n_c_e _C_a_r_d
(ShowPSReferenceCard.ps) - both in /usr/lib/DPS/doc. _s_h_o_w_p_s
- 3 -
can be used to view these documents on-line.
Note to Frame 4.0 users:
1) If the X server's default visual is TrueColor, Frame 4.0
renders EPS images as grayed boxes (the contents are not
visible).
2) If the X server's default visual is 12-bit PseudoColor,
rendering EPS images will cause Frame 4.0 to crash.
The workaround for both of these problems is to set the X
Server's default visual to 8-bit PseudoColor by editing the
file /usr/lib/X11/xdm/Xservers.
Some postscript documents specify incremental definitions of
Type 3 glyphs without abiding by the following rules:
1) Unused positions in the encoding must be filled with
/.notdef.
2) The font must contain a glyph named /.notdef.
For example, _d_v_i_2_p_s _v_e_r. _3._1 is a driver that generates such
documents. Using _s_h_o_w_p_s on these documents will result in
unreadable text. A workaround is to run _f_i_l_t_e_r_p_s to correct
the documents generated by _d_v_i_2_p_s _v_e_r. _3._1 or _f_i_l_t_e_r_p_s._f_i_x_T_3
to switch off Type 3 font caching in the document.
The PostScript operator _s_e_l_e_c_t_f_o_n_t substitutes the Courier
font if the requested font is not found.
Normally Display PostScript/X uses prebuilt fonts (hand-
tuned-bitmaps versus outline-rendering), but due to a bug
this type of font rendering has been disabled. In future
releases of DPS/X, SGI will either correct the problem with
prebuilt fonts or provide comparable bitmap fonts such as X
portable compiled fonts(pcf fonts).
All PostScript program file operators execute in the IRIX
file system relative to /, the root directory. The string
``..'' is prohibited in filenames.